from google.appengine.ext import webapp
from DataClass.WebsiteRec import WebsiteRec
from google.appengine.api import users
from google.appengine.ext.webapp import template
from AdminBase import AdminBase

import os
import cgi 

class EditWebSitesHandler(AdminBase):
    def GetTemplateFileName(self):
        return 'Pages/editwebsites.html'
        
    def GetBreadcrumbList(self):
        return [['main', 'admin'],['websites', 'editwebsites']]
    
    def GetTemplateValuesDict(self, template_values, user):
        retval = template_values

        querystring=cgi.FieldStorage()
        offset=querystring.getvalue('offset')
        
        if not offset:
            offset = 0
            
        # add offset logic for 'allwebsites' here
                    
        return retval
